﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:controlsPrimitives="clr-namespace:Microsoft.Phone.Controls.Primitives;assembly=Microsoft.Phone.Controls" 
    xmlns:es="clr-namespace:Microsoft.Expression.Shapes;assembly=Microsoft.Expression.Drawing" xmlns:em="clr-namespace:Microsoft.Expression.Media;assembly=Microsoft.Expression.Drawing" 
    x:Class="TAXILISM.MainPage" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="728" 
    d:DataContext="{d:DesignData SampleData/MainViewModelSampleData.xaml}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False" Foreground="Black">

	<phone:PhoneApplicationPage.Resources>
		<Style x:Key="PivotStyle1" TargetType="controls:Pivot">
			<Setter Property="Margin" Value="0"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="ItemsPanel">
				<Setter.Value>
					<ItemsPanelTemplate>
						<Grid/>
					</ItemsPanelTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="controls:Pivot">
						<Grid HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
							<Grid.RowDefinitions>
								<RowDefinition Height="Auto"/>
								<RowDefinition Height="Auto"/>
								<RowDefinition Height="*"/>
							</Grid.RowDefinitions>
							<Grid Background="{TemplateBinding Background}" CacheMode="BitmapCache" Grid.RowSpan="3"/>
							<ContentPresenter ContentTemplate="{TemplateBinding TitleTemplate}" Content="{TemplateBinding Title}" Margin="0"/>
							<controlsPrimitives:PivotHeadersControl x:Name="HeadersListElement" Grid.Row="1"/>
							<ItemsPresenter x:Name="PivotItemPresenter" Margin="{TemplateBinding Padding}" Grid.Row="2"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<DataTemplate x:Key="DataTemplate1">
			<Grid Background="#E5000000">
				<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="TAXILISM" d:LayoutOverrides="Height" FontFamily="Segoe WP Black" FontSize="21.333" Margin="20,5,0,5" Foreground="#FFFFC700"/>
			</Grid>
		</DataTemplate>
		<ControlTemplate x:Key="PhoneDisabledTextBoxTemplate" TargetType="TextBox">
			<ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" Margin="{StaticResource PhoneTextBoxInnerMargin}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="Stretch"/>
		</ControlTemplate>
		<Style x:Key="TextBoxStyle1" TargetType="TextBox">
			<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="Background" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneTextBoxForegroundBrush}"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="SelectionBackground" Value="{StaticResource PhoneAccentBrush}"/>
			<Setter Property="SelectionForeground" Value="{StaticResource PhoneTextBoxSelectionForegroundBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="Padding" Value="2"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="TextBox">
						<Grid Background="Transparent">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="ReadOnly">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="DisabledOrReadonlyContent">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxReadOnlyBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates">
									<VisualState x:Name="Focused">
										<Storyboard>
											<ColorAnimation Duration="0" To="#FFFFD400" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" Storyboard.TargetName="EnabledBorder" d:IsOptimized="True"/>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderThickness)" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Thickness>2,2,2,1</Thickness>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Unfocused"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="EnabledBorder" BorderThickness="2" Background="White" BorderBrush="#FFFFFFFF">
								<ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Background="Black" HorizontalAlignment="Center" VerticalAlignment="Center"/>
							</Border>
							<Border x:Name="DisabledOrReadonlyBorder" BorderBrush="{StaticResource PhoneDisabledBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="Transparent" Margin="{StaticResource PhoneTouchTargetOverhang}" Visibility="Collapsed">
								<TextBox x:Name="DisabledOrReadonlyContent" Background="Transparent" Foreground="{StaticResource PhoneDisabledBrush}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" IsReadOnly="True" SelectionForeground="{TemplateBinding SelectionForeground}" SelectionBackground="{TemplateBinding SelectionBackground}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}" Template="{StaticResource PhoneDisabledTextBoxTemplate}"/>
							</Border>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="TextBoxStyle2" TargetType="TextBox">
			<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="Background" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneTextBoxForegroundBrush}"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="SelectionBackground" Value="{StaticResource PhoneAccentBrush}"/>
			<Setter Property="SelectionForeground" Value="{StaticResource PhoneTextBoxSelectionForegroundBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="Padding" Value="2"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="TextBox">
						<Grid Background="Transparent">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="ReadOnly">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="DisabledOrReadonlyContent">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxReadOnlyBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates">
									<VisualState x:Name="Focused">
										<Storyboard>
											<ColorAnimation Duration="0" To="#FFFFD400" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" Storyboard.TargetName="EnabledBorder" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Unfocused"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="EnabledBorder" BorderBrush="#FF999999" BorderThickness="1">
								<ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" Margin="{StaticResource PhoneTextBoxInnerMargin}" VerticalContentAlignment="Stretch" Padding="10,2,1,2"/>
							</Border>
							<Border x:Name="DisabledOrReadonlyBorder" BorderBrush="{StaticResource PhoneDisabledBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="Transparent" Margin="{StaticResource PhoneTouchTargetOverhang}" Visibility="Collapsed">
								<TextBox x:Name="DisabledOrReadonlyContent" Background="Transparent" Foreground="{StaticResource PhoneDisabledBrush}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" IsReadOnly="True" SelectionForeground="{TemplateBinding SelectionForeground}" SelectionBackground="{TemplateBinding SelectionBackground}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}" Template="{StaticResource PhoneDisabledTextBoxTemplate}"/>
							</Border>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="PhoneTextBoxStyle1" TargetType="toolkit:PhoneTextBox">
			<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="Background" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneTextBoxForegroundBrush}"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="SelectionBackground" Value="{StaticResource PhoneAccentBrush}"/>
			<Setter Property="SelectionForeground" Value="{StaticResource PhoneTextBoxSelectionForegroundBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="Padding" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="toolkit:PhoneTextBox">
						<Grid x:Name="RootGrid" Background="Transparent">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HintBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="TextBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="TextBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="0"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Text">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<HorizontalAlignment>Stretch</HorizontalAlignment>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Enabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HintBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates">
									<VisualState x:Name="Focused">
										<Storyboard>
											<ColorAnimation Duration="0" To="#DE000000" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" Storyboard.TargetName="HintBorder" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="#26FFFFFF" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" Storyboard.TargetName="HintBorder" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Unfocused"/>
								</VisualStateGroup>
								<VisualStateGroup x:Name="LengthIndicatorStates">
									<VisualState x:Name="LengthIndicatorVisible">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="RootGrid">
												<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="0, 0, 0, 27"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="0.6"/>
											</ObjectAnimationUsingKeyFrames>
											<DoubleAnimation Duration="0:0:0.350" To="32" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" Storyboard.TargetName="LengthIndicator">
												<DoubleAnimation.EasingFunction>
													<ExponentialEase Exponent="6"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="LengthIndicatorHidden">
										<Storyboard>
											<DoubleAnimation Duration="0:0:0.350" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" Storyboard.TargetName="LengthIndicator">
												<DoubleAnimation.EasingFunction>
													<ExponentialEase Exponent="6"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="RootGrid">
												<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="0, 0, 0, 0"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0.350" Value="0"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0.350">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="LengthIndicatorBorder" Visibility="Collapsed">
								<TextBlock x:Name="LengthIndicator" FontSize="{StaticResource PhoneFontSizeNormal}" HorizontalAlignment="Right" TextAlignment="Right" VerticalAlignment="Bottom" Margin="12,12,15,12" Foreground="#DE000000">
									<TextBlock.RenderTransform>
										<TranslateTransform/>
									</TextBlock.RenderTransform>
								</TextBlock>
							</Border>
							<Border x:Name="HintBorder" BorderThickness="{TemplateBinding BorderThickness}" Margin="{StaticResource PhoneTouchTargetOverhang}" Background="#26000000" BorderBrush="#FFD9D9D9">
								<Grid>
									<ContentControl x:Name="HintContent" Background="Transparent" Content="{TemplateBinding Hint}" HorizontalAlignment="Left" Margin="7,0,7,0" Style="{TemplateBinding HintStyle}" Visibility="{TemplateBinding ActualHintVisibility}" VerticalAlignment="Center"/>
									<ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" Margin="{StaticResource PhoneTextBoxInnerMargin}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="Stretch"/>
								</Grid>
							</Border>
							<Border x:Name="TextBorder" BorderThickness="{TemplateBinding BorderThickness}" Background="Transparent" Margin="{StaticResource PhoneTouchTargetOverhang}" Visibility="Collapsed" BorderBrush="#4D000000">
								<TextBox x:Name="Text" Foreground="{StaticResource PhoneDisabledBrush}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalAlignment="Left" SelectionForeground="{TemplateBinding SelectionForeground}" SelectionBackground="{TemplateBinding SelectionBackground}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}"/>
							</Border>
							<Border x:Name="ActionIconBorder" Background="Transparent" HorizontalAlignment="Right" Height="72" VerticalAlignment="Bottom" Width="84">
								<Image x:Name="ActionIcon" Height="26" Source="{TemplateBinding ActionIcon}" Width="26"/>
							</Border>
							<TextBlock x:Name="MeasurementTextBlock" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontStretch="{TemplateBinding FontStretch}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" IsHitTestVisible="False" Margin="8" Opacity="0" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}" Foreground="#FFD9D9D9"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="capturebutton" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"><Image HorizontalAlignment="Center" Height="48" Margin="0" Source="Images/appbar.feature.camera.rest.png" Stretch="Fill" VerticalAlignment="Center" Width="48" Opacity="0.6"/>
								<TextBlock TextWrapping="Wrap" Text="Press and Capture Taxi Number." FontFamily="Segoe WP" HorizontalAlignment="Center"/>
							</StackPanel>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="Foreground" Value="#99000000"/>
		</Style>
		<Style x:Key="ListPickerStyle1" TargetType="toolkit:ListPicker">
			<Setter Property="Background" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneTextBoxForegroundBrush}"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="HorizontalContentAlignment" Value="Left"/>
			<Setter Property="Margin" Value="{StaticResource PhoneTouchTargetOverhang}"/>
			<Setter Property="PickerPageUri" Value="/Microsoft.Phone.Controls.Toolkit;component/ListPicker/ListPickerPage.xaml"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="toolkit:ListPicker">
						<StackPanel>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="PickerStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="Highlighted">
										<Storyboard>
											<ColorAnimation Duration="0" To="#FFFFB60F" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" Storyboard.TargetName="Border" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Foreground" Storyboard.TargetName="UserControl">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<ContentControl ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" FontSize="{StaticResource PhoneFontSizeNormal}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="0 0 0 8" Foreground="#66000000"/>
							<Grid>
								<Border x:Name="Border" Background="#26FFFFFF" BorderBrush="#26000000" BorderThickness="2">
									<UserControl x:Name="UserControl" Foreground="{TemplateBinding Foreground}">
										<StackPanel>
											<TextBlock x:Name="MultipleSelectionModeSummary" Margin="8 8 0 8"/>
											<Canvas x:Name="ItemsPresenterHost" MinHeight="46">
												<ItemsPresenter x:Name="ItemsPresenter">
													<ItemsPresenter.RenderTransform>
														<TranslateTransform x:Name="ItemsPresenterTranslateTransform"/>
													</ItemsPresenter.RenderTransform>
												</ItemsPresenter>
											</Canvas>
										</StackPanel>
									</UserControl>
								</Border>
							</Grid>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="fbShare" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<DoubleAnimation Duration="0" To="0.8" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="image" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Image x:Name="image" Source="Images/Facebook-Social-Bar-128.png" Stretch="Fill"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="twShare" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<DoubleAnimation Duration="0" To="0.8" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="image" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Image x:Name="image" Source="Images/social-bar-128-twitter.png" Stretch="Fill"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle1" TargetType="Button">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="Padding" Value="10,3,10,5"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid Background="Transparent">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="Black" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" Storyboard.TargetName="ButtonBackground" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="image" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="Black" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="textBlock" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Disabled"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="ButtonBackground" Background="{TemplateBinding Background}" CornerRadius="0" BorderBrush="#26000000" BorderThickness="2"/>
							<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center"><Image x:Name="image" HorizontalAlignment="Center" Height="48" Margin="0" Source="Images/appbar.feature.camera.rest.png" Stretch="Fill" VerticalAlignment="Center" Width="48" Opacity="0.8"/>
								<TextBlock x:Name="textBlock" TextWrapping="Wrap" Text="Press and Capture Taxi Number." FontFamily="Segoe WP" HorizontalAlignment="Center" Foreground="#CC000000"/>
							</StackPanel>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="TextBoxStyle3" TargetType="TextBox">
			<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="Background" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneTextBoxForegroundBrush}"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="SelectionBackground" Value="{StaticResource PhoneAccentBrush}"/>
			<Setter Property="SelectionForeground" Value="{StaticResource PhoneTextBoxSelectionForegroundBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="Padding" Value="2"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="TextBox">
						<Grid Background="Transparent">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="ReadOnly">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="DisabledOrReadonlyBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="DisabledOrReadonlyContent">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxReadOnlyBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates">
									<VisualState x:Name="Focused">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="EnabledBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneTextBoxEditBorderBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Unfocused"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="EnabledBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Margin="{StaticResource PhoneTouchTargetOverhang}" Background="White">
								<ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" Margin="{StaticResource PhoneTextBoxInnerMargin}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="Stretch"/>
							</Border>
							<Border x:Name="DisabledOrReadonlyBorder" BorderBrush="{StaticResource PhoneDisabledBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="Transparent" Margin="{StaticResource PhoneTouchTargetOverhang}" Visibility="Collapsed">
								<TextBox x:Name="DisabledOrReadonlyContent" Background="Transparent" Foreground="{StaticResource PhoneDisabledBrush}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" IsReadOnly="True" SelectionForeground="{TemplateBinding SelectionForeground}" SelectionBackground="{TemplateBinding SelectionBackground}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}" Template="{StaticResource PhoneDisabledTextBoxTemplate}"/>
							</Border>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle2" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel x:Name="stackPanel" Background="White">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="#19FFB60F" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="stackPanel" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<TextBlock TextWrapping="Wrap" Text="{Binding Data_taxName}" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="42.667" Margin="5,0,0,0" Foreground="#FF1A1A1A"/>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding noRate}">
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding oneRate}">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding twoRate}">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding threeRate}">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding fourRate}">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding fiveRate}">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<ContentPresenter Margin="5,5,0,0"/>						
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontSize" Value="42.667"/>
			<Setter Property="Foreground" Value="Black"/>
		</Style>
		<Style x:Key="placeTxtbox" TargetType="toolkit:PhoneTextBox">
			<Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/>
			<Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
			<Setter Property="Background" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneTextBoxForegroundBrush}"/>
			<Setter Property="BorderBrush" Value="{StaticResource PhoneTextBoxBrush}"/>
			<Setter Property="SelectionBackground" Value="{StaticResource PhoneAccentBrush}"/>
			<Setter Property="SelectionForeground" Value="{StaticResource PhoneTextBoxSelectionForegroundBrush}"/>
			<Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="Padding" Value="{StaticResource PhoneBorderThickness}"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="toolkit:PhoneTextBox">
						<Grid x:Name="RootGrid" Background="Transparent">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HintBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="TextBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="TextBorder">
												<DiscreteObjectKeyFrame KeyTime="0" Value="0"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="Text">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<HorizontalAlignment>Stretch</HorizontalAlignment>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Enabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HintBorder">
												<DiscreteObjectKeyFrame KeyTime="0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="FocusStates">
									<VisualState x:Name="Focused">
										<Storyboard>
											<ColorAnimation Duration="0" To="#FFFFB60F" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" Storyboard.TargetName="HintBorder" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="#00000000" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" Storyboard.TargetName="ActionIconBorder" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActionIconBorder" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="0.8" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActionIcon" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="Unfocused"/>
								</VisualStateGroup>
								<VisualStateGroup x:Name="LengthIndicatorStates">
									<VisualState x:Name="LengthIndicatorVisible">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Visible</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="RootGrid">
												<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="0, 0, 0, 27"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="0.6"/>
											</ObjectAnimationUsingKeyFrames>
											<DoubleAnimation Duration="0:0:0.350" To="32" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" Storyboard.TargetName="LengthIndicator">
												<DoubleAnimation.EasingFunction>
													<ExponentialEase Exponent="6"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="LengthIndicatorHidden">
										<Storyboard>
											<DoubleAnimation Duration="0:0:0.350" To="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.Y)" Storyboard.TargetName="LengthIndicator">
												<DoubleAnimation.EasingFunction>
													<ExponentialEase Exponent="6"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Margin" Storyboard.TargetName="RootGrid">
												<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="0, 0, 0, 0"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0.350" Value="0"/>
											</ObjectAnimationUsingKeyFrames>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="LengthIndicator">
												<DiscreteObjectKeyFrame KeyTime="0:0:0.350">
													<DiscreteObjectKeyFrame.Value>
														<Visibility>Collapsed</Visibility>
													</DiscreteObjectKeyFrame.Value>
												</DiscreteObjectKeyFrame>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="LengthIndicatorBorder">
								<TextBlock x:Name="LengthIndicator" Foreground="{StaticResource PhoneContrastBackgroundBrush}" FontSize="{StaticResource PhoneFontSizeNormal}" HorizontalAlignment="Right" Margin="{StaticResource PhoneMargin}" TextAlignment="Right" VerticalAlignment="Bottom">
									<TextBlock.RenderTransform>
										<TranslateTransform/>
									</TextBlock.RenderTransform>
								</TextBlock>
							</Border>
							<Border x:Name="HintBorder" BorderBrush="#26000000" BorderThickness="2">
								<Grid>
									<ContentControl x:Name="HintContent" Background="Transparent" Content="{TemplateBinding Hint}" HorizontalAlignment="Left" Margin="10,2,48,2" Style="{TemplateBinding HintStyle}" Visibility="{TemplateBinding ActualHintVisibility}" VerticalAlignment="Center"/>
									<ContentControl x:Name="ContentElement" BorderThickness="0" HorizontalContentAlignment="Stretch" Padding="{TemplateBinding Padding}" VerticalContentAlignment="Stretch" Margin="10,2,48,2"/>
								</Grid>
							</Border>
							<Border x:Name="TextBorder" Background="Transparent" Margin="{StaticResource PhoneTouchTargetOverhang}" Visibility="Collapsed" BorderThickness="2" BorderBrush="#72000000">
								<TextBox x:Name="Text" Foreground="{StaticResource PhoneDisabledBrush}" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" HorizontalAlignment="Left" SelectionForeground="{TemplateBinding SelectionForeground}" SelectionBackground="{TemplateBinding SelectionBackground}" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}"/>
							</Border>
							<Border x:Name="ActionIconBorder" Background="Transparent" VerticalAlignment="Center" HorizontalAlignment="Right" BorderBrush="Black">
								<Image x:Name="ActionIcon" Source="{TemplateBinding ActionIcon}" Height="48" Opacity="0.15"/>
							</Border>
							<TextBlock x:Name="MeasurementTextBlock" FontWeight="{TemplateBinding FontWeight}" FontStyle="{TemplateBinding FontStyle}" FontStretch="{TemplateBinding FontStretch}" FontSize="{TemplateBinding FontSize}" FontFamily="{TemplateBinding FontFamily}" IsHitTestVisible="False" Margin="8" Opacity="0" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Text="{TemplateBinding Text}"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle3" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="#E5FFFFFF" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="2" Storyboard.TargetProperty="(Shape.StrokeThickness)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Rectangle x:Name="rectangle" Fill="#FFFFC700" Stroke="#26000000"/>
							<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="20,10"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ListBoxItemStyle1" TargetType="ListBoxItem">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="BorderThickness" Value="0"/>
			<Setter Property="BorderBrush" Value="Transparent"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="HorizontalContentAlignment" Value="Left"/>
			<Setter Property="VerticalContentAlignment" Value="Top"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="ListBoxItem">
						<Border x:Name="border" BorderBrush="#0C000000" BorderThickness="0" Width="398" Margin="0" Background="#00000000">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="SelectionStates">
									<VisualState x:Name="Unselected"/>
									<VisualState x:Name="Selected">
										<Storyboard>
											<ColorAnimation Duration="0" To="#DEFFFFFF" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="placeTxt" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="#FFFFB60F" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" Storyboard.TargetName="border" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
									<VisualState x:Name="SelectedUnfocused">
										<Storyboard>
											<ColorAnimation Duration="0" To="#FFFFB60F" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" Storyboard.TargetName="border" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="#DEFFFFFF" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="placeTxt" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<TextBlock x:Name="placeTxt" TextWrapping="Wrap" Text="{Binding Data_description}" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="33.333" Margin="10,0" Foreground="#DE000000"/>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ListBoxStyle1" TargetType="ListBox">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/>
			<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
			<Setter Property="BorderThickness" Value="0"/>
			<Setter Property="BorderBrush" Value="Transparent"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="ListBox">
						<ScrollViewer x:Name="ScrollViewer" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Foreground="{TemplateBinding Foreground}" Padding="{TemplateBinding Padding}">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="ValidationStates">
									<VisualState x:Name="Valid"/>
									<VisualState x:Name="InvalidUnfocused"/>
									<VisualState x:Name="InvalidFocused"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<ItemsPresenter/>
						</ScrollViewer>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Storyboard x:Name="fromLBhide">
			<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="fromLB">
				<DiscreteObjectKeyFrame KeyTime="0">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Visible</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
				<DiscreteObjectKeyFrame KeyTime="0:0:1">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Collapsed</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="toLBhide">
			<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="toLB">
				<DiscreteObjectKeyFrame KeyTime="0">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Visible</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
				<DiscreteObjectKeyFrame KeyTime="0:0:1">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Collapsed</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
		<Style x:Key="ButtonStyle4" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel Orientation="Horizontal">
							<StackPanel Width="285">
								<TextBlock HorizontalAlignment="Left" Text="{Binding Data_Name}" TextWrapping="Wrap" Margin="0,0,10,0" Foreground="Black"/>
								<StackPanel Orientation="Horizontal" Margin="0,-5,10,0">
									<TextBlock TextWrapping="Wrap" Text="{Binding Data_allDuration}" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="26.667" FontWeight="Bold" Foreground="#A5000000"/>
									<TextBlock TextWrapping="Wrap" Text="{Binding Data_allDistance}" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="26.667" FontWeight="Bold" Margin="10,0,0,0" Foreground="#A5000000"/>
								</StackPanel>
							</StackPanel>
							<Grid Width="125">
								<TextBlock TextWrapping="Wrap" Text="{Binding Data_calFare}" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="34.667" FontWeight="Bold" VerticalAlignment="Top" Foreground="#F2000000" HorizontalAlignment="Right"/></Grid>
							<Grid VerticalAlignment="Top" Background="White">
								<Image Height="38" Source="appbar.feature.search.rest.png" Stretch="Fill" Width="38"/>
							</Grid>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontWeight" Value="Bold"/>
			<Setter Property="FontSize" Value="32"/>
		</Style>
		<Style x:Key="ButtonStyle5" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="White" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" Storyboard.TargetName="border" d:IsOptimized="True"/>
											<ColorAnimation Duration="0" To="Black" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="textBlock" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Border x:Name="border" BorderBrush="#26000000" BorderThickness="1" Background="Black"/>
							<TextBlock x:Name="textBlock" Text="Close" Margin="15,0"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="Segoe WP Semibold"/>
			<Setter Property="FontSize" Value="29.333"/>
			<Setter Property="Foreground" Value="White"/>
		</Style>
		<Style x:Key="ButtonStyle8" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="#E5D25B4C" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="2" Storyboard.TargetProperty="(Shape.StrokeThickness)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Rectangle x:Name="rectangle" Fill="#D8FF0000" Stroke="#26000000"/>
							<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="20,10"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle6" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel x:Name="stackPanel" Background="White" Orientation="Horizontal">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="#19FFB60F" Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="stackPanel" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<StackPanel Width="348">
								<TextBlock TextWrapping="Wrap" Text="{Binding Data_taxName}" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="42.667" Margin="5,0,0,0" Foreground="#FF1A1A1A"/>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding noRate}">
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding oneRate}" d:IsHidden="True">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding twoRate}" d:IsHidden="True">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="101 Ratings" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding threeRate}" d:IsHidden="True">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding fourRate}" d:IsHidden="True">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<StackPanel Margin="0,-10,0,0" Orientation="Horizontal" Visibility="{Binding fiveRate}" d:IsHidden="True">
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="25" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="25"/>
								<TextBlock TextWrapping="Wrap" Text="{Binding numRate}" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="20,0,0,0" Foreground="#FF1A1A1A"/>
							</StackPanel>
							<ContentPresenter Margin="5,5,0,0"/>
							</StackPanel>
							<Button x:Name="rateBtn" Content="Rate" HorizontalAlignment="Right" Margin="0" Visibility="{Binding voteable}" Style="{StaticResource ButtonStyle8}" Foreground="White" FontFamily="Segoe WP Semibold" FontSize="16" Click="rateBtn_Click" VerticalAlignment="Center" Padding="5,0" BorderThickness="0"/>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontSize" Value="42.667"/>
			<Setter Property="Foreground" Value="Black"/>
		</Style>
		<Style x:Key="ListBoxStyle2" TargetType="ListBox">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
			<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Disabled"/>
			<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
			<Setter Property="BorderThickness" Value="0"/>
			<Setter Property="BorderBrush" Value="Transparent"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="ListBox">
						<ScrollViewer x:Name="ScrollViewer" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Foreground="{TemplateBinding Foreground}" Padding="{TemplateBinding Padding}">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="ValidationStates">
									<VisualState x:Name="Valid"/>
									<VisualState x:Name="InvalidUnfocused"/>
									<VisualState x:Name="InvalidFocused"/>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<ItemsPresenter/>
						</ScrollViewer>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ButtonStyle7" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<Grid>
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Disabled"/>
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Pressed">
										<Storyboard>
											<ColorAnimation Duration="0" To="#99000000" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
											<DoubleAnimation Duration="0" To="2" Storyboard.TargetProperty="(Shape.StrokeThickness)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<Rectangle x:Name="rectangle" Fill="Black" Stroke="#26000000"/>
							<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="20,10"/>
						</Grid>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="rate1" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel Orientation="Horizontal">
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<ContentPresenter Margin="15,0,0,0" VerticalAlignment="Bottom"/>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontSize" Value="29.333"/>
			<Setter Property="Foreground" Value="White"/>
		</Style>
		<Style x:Key="rate2" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel Orientation="Horizontal">
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<ContentPresenter Margin="15,0,0,-0.574" VerticalAlignment="Bottom"/>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontSize" Value="29.333"/>
			<Setter Property="Foreground" Value="White"/>
		</Style>
		<Style x:Key="rate3" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel Orientation="Horizontal">
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<ContentPresenter Margin="15,0,0,-1.148" VerticalAlignment="Bottom"/>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontSize" Value="29.333"/>
			<Setter Property="Foreground" Value="White"/>
		</Style>
		<Style x:Key="rate4" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel Orientation="Horizontal">
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFEEEEEE" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<ContentPresenter Margin="15,0,0,-1.722" VerticalAlignment="Bottom"/>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontSize" Value="29.333"/>
			<Setter Property="Foreground" Value="White"/>
		</Style>
		<Style x:Key="rate5" TargetType="Button">
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="Button">
						<StackPanel Orientation="Horizontal">
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<es:RegularPolygon Fill="#FFFFC700" HorizontalAlignment="Left" Height="40" InnerRadius="0.47211" PointCount="5" Stretch="Fill" UseLayoutRounding="False" Width="40" VerticalAlignment="Center"/>
							<ContentPresenter Margin="15,0,0,-1.722" VerticalAlignment="Bottom"/>
						</StackPanel>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
			<Setter Property="FontFamily" Value="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"/>
			<Setter Property="FontSize" Value="29.333"/>
			<Setter Property="Foreground" Value="White"/>
		</Style>
	</phone:PhoneApplicationPage.Resources>
	<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar BackgroundColor="#FFFFC700" ForegroundColor="#FF1A1A1A">
			<shell:ApplicationBarIconButton x:Name="settingBtn" IconUri="/icons/appbar.feature.settings.rest.png" Text="Settings" Click="settingBtn_Click"/>
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>
 
<!--Sample code showing usage of ApplicationBar--><!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

	<phone:PhoneApplicationPage.FontFamily>
		<StaticResource ResourceKey="PhoneFontFamilyNormal"/>
	</phone:PhoneApplicationPage.FontFamily>
	<phone:PhoneApplicationPage.FontSize>
		<StaticResource ResourceKey="PhoneFontSizeNormal"/>
	</phone:PhoneApplicationPage.FontSize>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
<!--Pivot Control-->
<!--Pivot Control--><!--Pivot Control-->
    	<controls:Pivot Title="MY APPLICATION" Background="White" Foreground="#F2000000" Style="{StaticResource PivotStyle1}" TitleTemplate="{StaticResource DataTemplate1}">
    		<!--Pivot item one-->
    		<controls:PivotItem Header="share" Margin="12,10,12,0">
    			<Grid>
    				<StackPanel Margin="12,0,0,0">
    					<TextBlock TextWrapping="Wrap" Text="Taxi Number" FontSize="24" Margin="10,0,0,0" FontFamily="Segoe WP Semibold" Foreground="Black" FontWeight="Bold"/>
    					<toolkit:PhoneTextBox x:Name="taxiNumber" TextWrapping="Wrap" MaxLength="7" Hint="เช่น ทซ-7777" Style="{StaticResource placeTxtbox}" Margin="10,5,20,0" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="32" FontWeight="Bold" />
    					<TextBlock TextWrapping="Wrap" Text="Color" FontSize="24" Margin="10,0,0,0" FontFamily="Segoe WP Semibold" Foreground="Black" FontWeight="Bold"/>
    					<toolkit:ListPicker x:Name="taxiColorPicker" FullModeHeader="Taxi Color" CacheMode="BitmapCache" Margin="10,0,20,0" Style="{StaticResource ListPickerStyle1}" ExpansionMode="FullscreenOnly" SelectionChanged="taxiColorPicker_SelectionChanged" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="32" FontWeight="Bold">
    						<toolkit:ListPicker.ItemTemplate>
    							<DataTemplate>
    								<StackPanel Orientation="Horizontal">
    									<Rectangle Fill="{Binding color1}" Width="24" Height="24"/>
    									<Rectangle Fill="{Binding color2}" Margin="5 0 0 0" Width="24" Height="24"/>
    									<TextBlock Text="{Binding colorName}" Margin="15 0 0 0" />
    								</StackPanel>
    							</DataTemplate>
    						</toolkit:ListPicker.ItemTemplate>
    						<toolkit:ListPicker.FullModeItemTemplate>
    							<DataTemplate>
    								<StackPanel Orientation="Horizontal" Margin="0 21 0 20">
    									<Rectangle Fill="{Binding color1}" Width="43" Height="43"/>
    									<Rectangle Fill="{Binding color2}" Margin="5 0 0 0" Width="43" Height="43"/>
    									<TextBlock Text="{Binding colorName}"
    										Margin="16 0 0 0"
    										FontSize="50"
    										FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK"
                                                   />
    								</StackPanel>
    							</DataTemplate>
    						</toolkit:ListPicker.FullModeItemTemplate>      			
    					</toolkit:ListPicker>
    					<!--<Image x:Name="captureImg" Source="/Tulips.jpg" Stretch="Fill" HorizontalAlignment="Left"/>-->
    					<Button x:Name="captureBlock"  Margin="10,20,20,0" Height="316" Style="{StaticResource ButtonStyle1}" Click="captureBlock_Click" Foreground="#DE000000" BorderBrush="#DE000000" BorderThickness="1">
    						<Button.Background>
    							<ImageBrush Stretch="Fill"/>
    						</Button.Background>
    					</Button>
    					<StackPanel Orientation="Horizontal" Margin="10,10,20,0" HorizontalAlignment="Right" VerticalAlignment="Top">
    						<Button x:Name="twShareBut" Content="Button" Style="{StaticResource twShare}" Click="twShareBut_Click"/>
    						<Button x:Name="fbShareBut" Content="Button" Margin="10,0,0,0" Style="{StaticResource fbShare}" Click="fbShareBut_Click"/>
    					</StackPanel>
    				</StackPanel>
    			</Grid>
<!--Double line list with text wrapping-->
    		</controls:PivotItem>
 
    		<!--Pivot item two-->
    		<controls:PivotItem Header="call" Margin="12,10,12,0">
    			
    			<ScrollViewer>
    			
    				<Grid Height="575" VerticalAlignment="Top" Width="456">
    					<Grid.RowDefinitions>
    						<RowDefinition Height="Auto" MinHeight="150.902"/>
    						<RowDefinition Height="Auto" MinHeight="445"/>
    					</Grid.RowDefinitions>
						<Border VerticalAlignment="Top" Margin="12,0,0,0" BorderBrush="Transparent" BorderThickness="0" Background="#00000000" Height="143">
							<StackPanel x:Name="recentBlock" Margin="10,0,0,10" d:LayoutOverrides="Height">
								<TextBlock TextWrapping="Wrap" Text="Recent call" VerticalAlignment="Top" d:LayoutOverrides="Width" FontSize="24" FontWeight="Bold" Foreground="Black" Margin="5,0,0,0" FontFamily="Segoe WP Semibold"/>
								<ListBox x:Name="RecentCallListBox" Height="101" Margin="5,0,0,0">
									<ListBox.ItemTemplate>
										<DataTemplate>
											<Button x:Name="recentCallBtn" Foreground="#72000000" Content="{Binding Data_taxPhone}" Style="{StaticResource ButtonStyle6}" VerticalAlignment="Top" FontFamily="Segoe WP Semibold" FontSize="18" Width="429"/>	
										</DataTemplate>
									</ListBox.ItemTemplate>
								</ListBox>
							</StackPanel></Border>
    					<TextBlock TextWrapping="Wrap" Text="Calling taxi" VerticalAlignment="Top" FontSize="24" FontWeight="Bold" Foreground="Black" d:LayoutOverrides="Width" Margin="27,0,22,0" FontFamily="Segoe WP Semibold" Grid.Row="1"/>
    					<ListBox x:Name="CallingListBox" Margin="27,32.098,22,0" Grid.Row="1" VerticalAlignment="Top" Height="392">
							<ListBox.ItemTemplate>
								<DataTemplate>
									<Button x:Name="serviceCallBtn" Margin="0,0,0,7" Content="{Binding Data_taxPhone}" Tag="{Binding Data_id}" Style="{StaticResource ButtonStyle2}" VerticalAlignment="Top" Width="434" Click="serviceCallBtn_Click" FontFamily="Segoe WP Semibold" Foreground="#72000000" FontSize="18"/>					
								</DataTemplate>
							</ListBox.ItemTemplate>
    						
    						
    					</ListBox>
    				</Grid>
    			</ScrollViewer>
    		</controls:PivotItem>
    		<controls:PivotItem Header="fare">
    			<Grid>
    				<ScrollViewer>
    					<StackPanel Margin="0">
    						<Grid>
    							<Grid HorizontalAlignment="Left" VerticalAlignment="Center" Background="#D8FF0000" Width="36" Height="36"><TextBlock TextWrapping="Wrap" Text="A" VerticalAlignment="Center" d:LayoutOverrides="Width" FontSize="21.333" Foreground="White" Margin="0" HorizontalAlignment="Center" FontFamily="Segoe WP Semibold" FontWeight="Bold"/></Grid>
							
    							<toolkit:PhoneTextBox x:Name="fromTxt" Hint="เช่น ถนนราชดำเนิน" ActionIcon="Images/hereIcon.png" Foreground="Black" Style="{StaticResource placeTxtbox}" Margin="48,0,8,0" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="33.333" ActionIconTapped="fromTxt_ActionIconTapped" /></Grid>
    						<ListBox x:Name="fromLB" MaxHeight="150" Margin="48,10,8,0" BorderThickness="1" BorderBrush="#FFFFC700" Style="{StaticResource ListBoxStyle1}" SelectionChanged="fromLB_SelectionChanged" Visibility="Collapsed">
    							<ListBox.ItemTemplate>
    								<DataTemplate>
    									<ListBoxItem Style="{StaticResource ListBoxItemStyle1}"/>
    								</DataTemplate>
    							</ListBox.ItemTemplate>              
    						</ListBox>
    						<Grid Margin="0,10,0,0">
    							<Grid HorizontalAlignment="Left" VerticalAlignment="Center" Background="#D8FF0000" Width="36" Height="36"><TextBlock TextWrapping="Wrap" Text="B" VerticalAlignment="Center" d:LayoutOverrides="Width" FontSize="21.333" FontWeight="Bold" Foreground="White" Margin="0" HorizontalAlignment="Center" FontFamily="Segoe WP Semibold"/></Grid>
    							<toolkit:PhoneTextBox x:Name="toTxt" Hint="เช่น หมอชิต" ActionIcon="Images/hereIcon.png" Foreground="Black" Style="{StaticResource placeTxtbox}" Margin="48,0,8,0" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" FontSize="33.333" ActionIconTapped="toTxt_ActionIconTapped" /></Grid>
    						<ListBox x:Name="toLB" MaxHeight="150" Margin="48,10,8,0" BorderThickness="1" BorderBrush="#FFFFC700" Style="{StaticResource ListBoxStyle1}" SelectionChanged="toLB_SelectionChanged" Visibility="Collapsed">
    							<ListBox.ItemTemplate>
    								<DataTemplate>
    									<ListBoxItem Style="{StaticResource ListBoxItemStyle1}"/>
    								</DataTemplate>
    							</ListBox.ItemTemplate>
    						</ListBox>
    						<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    							<Button x:Name="helpBtn" Content="Help" HorizontalAlignment="Right" Margin="0,10,10,0" Style="{StaticResource ButtonStyle3}" Foreground="#DE000000" FontFamily="Segoe WP Semibold" FontSize="18.667" Click="helpBtn_Click" Width="108"/>
    							<Button x:Name="getFareBtn" Click="getFareBtn_Click"  Content="Get fare" HorizontalAlignment="Right" Margin="0,10,8,0" Style="{StaticResource ButtonStyle3}" Foreground="#DE000000" FontFamily="Segoe WP Semibold" FontSize="18.667"/>      			
    						</StackPanel>
							<TextBlock x:Name="SuggestText" Text="Suggested routes" Margin="0,10" FontFamily="Segoe WP Semibold" FontSize="24" Foreground="#F2000000"/>
							<ListBox x:Name="pathLB" BorderThickness="0" Margin="0,0,8,0" VerticalAlignment="Top" Height="325">
								<ListBox.ItemTemplate>
									<DataTemplate>
										<Button x:Name="viewPathBtn" Tag="{Binding Data_polyline}" Content="ถนนพญาไท" Style="{StaticResource ButtonStyle4}" Click="viewPathBtn_Click"/>
									</DataTemplate>
								</ListBox.ItemTemplate>
							</ListBox>
    					</StackPanel>
    				</ScrollViewer>
    				<Border x:Name="adviceBlock" Background="#FFFFC700" Margin="0,0,8,15" BorderThickness="2" BorderBrush="#26000000" Height="350" VerticalAlignment="Bottom" d:LayoutOverrides="GridBox">
    					<Grid>
    						<Image HorizontalAlignment="Right" Margin="0,90,70,0" Source="Images/hereIcon.png" Stretch="Fill" Width="48" Height="48" VerticalAlignment="Top"/>
    						<TextBlock Margin="20,14,0,0" TextWrapping="Wrap" Text="Help?" VerticalAlignment="Top" FontSize="26.667" FontFamily="Segoe WP Black" HorizontalAlignment="Left"/>
    						<TextBlock Margin="20,58,15,0" TextWrapping="Wrap" Text="You can input your location for calculate a fare by pressing      button on the right of search box." FontSize="26.667" FontFamily="Segoe WP SemiLight" d:LayoutOverrides="Width" VerticalAlignment="Top"/>
    						<TextBlock Margin="20,176,15,0" TextWrapping="Wrap" FontSize="32" FontFamily="/TAXILISM;component/Fonts/Fonts.zip#TH SarabunPSK" d:LayoutOverrides="Width" LineStackingStrategy="BlockLineHeight" LineHeight="34.667" VerticalAlignment="Top"><Run Text="ผู้ใช้สามารถ"/><Run Text="ป้อน"/><Run Text="ตำแหน่งปัจจุบันของผู้ใช้ เพื่อ"/><Run Text="ทำการคำนวณค่าโดยสารโดยกดปุ่ม ที่ด้านขวามือของกล้องค้นหา"/></TextBlock>
    						<Image HorizontalAlignment="Right" Margin="0,0,56,95" Source="Images/hereIcon.png" Stretch="Fill" Width="48" Height="48" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment"/>
    						<Button x:Name="closeTipBtn" Content="Close" HorizontalAlignment="Right" Style="{StaticResource ButtonStyle7}" Foreground="#FFF1C600" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" Margin="0,0,15,15" Width="118" Click="closeTipBtn_Click"/>
    					</Grid>
    				</Border>
    			</Grid>
    		</controls:PivotItem>
    	</controls:Pivot>
    	<Grid x:Name="imgBlock" Background="#D8000000" Visibility="Collapsed">
    		<StackPanel VerticalAlignment="Center">
    			<Border BorderBrush="#26000000" BorderThickness="1">
    				<phone:WebBrowser x:Name="pathImg" Height="478" IsScriptEnabled="True"/>
    			</Border>
    			<Button x:Name="closeImgBlock" Content="Close" HorizontalAlignment="Center" Style="{StaticResource ButtonStyle5}" Click="closeImgBlock_Click"/>
    		</StackPanel>
    	</Grid>
    	<Grid x:Name="twBlock" Background="White" Visibility="Collapsed">
    		<phone:WebBrowser x:Name="twLogin" VerticalAlignment="Top" HorizontalAlignment="Left" Width="480" Height="724" IsScriptEnabled="True"/>
    		<Button x:Name="loginOkBtn" Content="twitter Pin" VerticalAlignment="Bottom" Click="loginOkBtn_Click">
    			<Button.Background>
    				<SolidColorBrush Color="{StaticResource PhoneBackgroundColor}"/>
    			</Button.Background>
    		</Button>
    	</Grid>
    	<Grid x:Name="fbBlock">
    		<phone:WebBrowser x:Name="fbLogin" LoadCompleted="fbLogin_LoadCompleted" IsScriptEnabled="True" Visibility="Collapsed"/>
    	</Grid>
    	<Grid x:Name="twPinBlock" Visibility="Collapsed">
    		<Grid Margin="0,0,0,96" Height="217" VerticalAlignment="Bottom" Background="#F2000000">
    			<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="twitter pin" Margin="28,17,0,0" FontWeight="Bold" FontSize="33.333" d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" VerticalAlignment="Top" Foreground="White"/>
    			<StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" HorizontalAlignment="Right">
    				<Button x:Name="pinOkBtn" Content="Ok" Width="150" HorizontalAlignment="Right" Click="pinOkBtn_Click">
    					<Button.Background>
    						<SolidColorBrush Color="{StaticResource PhoneBackgroundColor}"/>
    					</Button.Background>
    				</Button>
    				<Button x:Name="pinCancelBtn" Content="Cancel" Width="150" HorizontalAlignment="Right" Click="pinCancelBtn_Click">
    					<Button.Background>
    						<SolidColorBrush Color="{StaticResource PhoneBackgroundColor}"/>
    					</Button.Background>
    				</Button></StackPanel>
    			<TextBox x:Name="pinTxt" Margin="121,0,104,75" TextWrapping="Wrap" Style="{StaticResource TextBoxStyle3}" Foreground="#DE000000" TextAlignment="Center" VerticalAlignment="Bottom"/></Grid>
    	</Grid>
        <Grid x:Name="waitScr" Margin="0,-42.045,0,0" Grid.Row="1" Background="#E5000000" Visibility="Collapsed">
            <toolkit:PerformanceProgressBar IsIndeterminate="True" VerticalAlignment="Center" Height="50" Foreground="#FFFFC700" Background="#FFFFC700"/>
        </Grid>
        <Grid x:Name="rateBlock" Background="Black" Visibility="Collapsed">
        	<StackPanel VerticalAlignment="Center" Margin="20,0,0,0">
        		<TextBlock TextWrapping="Wrap" Foreground="White" Text="Rate Recent taxi service quality." Margin="15,0,15,10" FontSize="29.333" FontFamily="Segoe WP"/>
        		<Button x:Name="rate1_btn" Click="rate1_btn_Click" Content="แย่ / Bad" Height="55" Margin="15,5,10,5" Style="{StaticResource rate1}"/>
        		<Button x:Name="rate2_btn" Click="rate2_btn_Click" Content="พอใช้ / Fair" Height="55" Margin="15,5,10,5" Style="{StaticResource rate2}"/>
        		<Button x:Name="rate3_btn" Click="rate3_btn_Click" Content="ปานกลาง / Moderate" Height="55" Margin="15,5,10,5" Style="{StaticResource rate3}"/>
        		<Button x:Name="rate4_btn" Click="rate4_btn_Click" Content="ดี / Good" Height="55" Margin="15,5,10,5" Style="{StaticResource rate4}"/>
        		<Button x:Name="rate5_btn" Click="rate5_btn_Click" Content="ดีเยี่ยม / Excellent" Height="55" Margin="15,5,10,5" Style="{StaticResource rate5}"/>
        	</StackPanel>
        	<Button x:Name="cancelRate_btn" Click="cancelRate_btn_Click"  Content="Cancel" HorizontalAlignment="Right" Margin="0,0,20,20" Style="{StaticResource ButtonStyle3}" Foreground="#DE000000" FontFamily="Segoe WP Semibold" FontSize="18.667" VerticalAlignment="Bottom" d:LayoutOverrides="HorizontalAlignment"/>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>
